<?php
require_once 'application/library/db/gcDaoFactory.php';
require_once 'application/constant/daoConfig.php';
/**
 * login_services_IndexService
 * @author    Soochow University
 * @version   1.0
 * @exclude   作  成  日：2011/04/07
 */

class login_services_IndexService{

    private $objDaoFactory;

    public function __construct(){
        $this->objDaoFactory = gcDaoFactory::getInstance();
    }

    /**
     * 用户情报取得
     * pbGetUserInfo
     * @param   array   $arrParameter
     * @return  array   $arrReturn
     */
    public function pbGetUserInfo($arrParameter){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_BA_M_USER_DAO);
        $arrReturn = $objTestDao->pbGetUserLoginInfo($arrParameter);
        return $arrReturn;
    }

    /**
     * 用户情报取得
     * pbGetUserInfo
     * @param   array   $arrParameter
     * @return  array   $arrReturn
     */
    public function pbGetMemberInfo($arrParameter){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_AD_M_MEMBER_DAO);
        $arrReturn = $objTestDao->pbGetMemberLoginInfo($arrParameter);
        return $arrReturn;
    }
}